下面算法的时间复杂度为( )。x=100; y=100;while(y>0) if(x>100) {x=x-10; y–;} else x++;A:O(n) B:O(100) C:O(1) D:O(n*n) 答案: O(1)



登录
订单
帮助
主页